package com.scott.crm.base.bean;

import java.io.Serializable;

/**
 * @author 黄后林
 * @version 1.0
 * @note
 * @date 2021-11-27 13:37:15
 */
@lombok.Data
public class Data<T> implements Serializable {

    private Integer code;
    private String message;
    private T data;

    public Data(Integer code, String message, T data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }

    public Data(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


}
